package com.zhao.service;

import com.zhao.pojo.Admin;
import com.zhao.pojo.SchoolCounsellor;
import com.zhao.pojo.Student;
import com.zhao.pojo.StudentImpl;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpSession;

public interface StudentService {

    ///index
    String getStudentNum(String universityID,HttpSession session);

    StudentImpl getStudentImpl(Student student);
    String finishStudentInfo(StudentImpl studentImpl , MultipartFile image , HttpSession session);


    String adminGetAllStudents(Admin admin,HttpSession session);
    String deleteOneStudent(Admin admin,String studentID);
    String adminAddOneStudent(StudentImpl studentImpl,HttpSession session);
    String adminGetOneStudent(Admin admin,String studentID,HttpSession session);
    String adminUpdateStudent(Admin admin,String studentID,String name,String department,String major,String stuClass,String password,String email,String phoneNumber,HttpSession session);
}
